package com.box.service;

import com.box.entity.ArticleAndArticleType;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @program: MyBox
 * @ClassName ArticleAndArticleTypeService
 * @description: 文章和文章类型接口，对分页搜索进行一个封装
 * @author: tyf19970214
 * @create: 2020-05-16 20:03
 * @Version 1.0
 **/
public interface ArticleAndArticleTypeService {


    //搜索文章
    public List<ArticleAndArticleType> getListByMap(Map map);

    String countArticleAndType();

    public void getSearchListByWhere(String formName, String paramterName,String keyboard,  HttpServletRequest request) throws Exception;
}
